﻿
using System;

namespace CAP.Model
{
    public class UpdateProductStock
    {
        public UpdateProductStock(Guid orderID, Guid productID, int count)
        {
            OrderID = orderID;
            ProductID = productID;
            Count = count;
        }

        public Guid OrderID { get; set; }

        public Guid ProductID { get; set; }

        public int Count { get; set; }
    }

    public class UpdateOrderStatus
    {
        public UpdateOrderStatus(Guid orderID, bool success)
        {
            OrderID = orderID;
            Success = success;
        }

        public Guid OrderID { get; set; }

        public bool Success { get; set; }
    }
}